# -*- coding: utf-8 -*-



from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(570, 454)
        MainWindow.setWindowOpacity(0.9)
        self.centralWidget = QtWidgets.QWidget(MainWindow)
        self.centralWidget.setObjectName("centralWidget")
        font = QtGui.QFont()
        font.setFamily("Aa芒小果")
        self.enter = QtWidgets.QPushButton(self.centralWidget)
        self.enter.setFont(font)
        self.enter.setGeometry(QtCore.QRect(300, 420, 114, 32))
        self.enter.setAutoDefault(True)
        self.enter.setObjectName("enter")
        self.enter.setStyleSheet('''QPushButton{border: 2px solid rgb(254, 168, 39);border-radius:5px;}
            QPushButton:hover{background:rgb(254, 168, 39);font-size:16px;}''')
        self.usrText = QtWidgets.QPlainTextEdit(self.centralWidget)
        self.usrText.setGeometry(QtCore.QRect(10, 290, 401, 131))
        self.usrText.setObjectName("usrText")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralWidget)
        self.textBrowser.setGeometry(QtCore.QRect(10, 10, 401, 271))
        self.textBrowser.setObjectName("textBrowser")
        self.frame = QtWidgets.QFrame(self.centralWidget)
        self.frame.setGeometry(QtCore.QRect(410, 309, 161, 121))
        self.frame.setCursor(QtGui.QCursor(QtCore.Qt.WaitCursor))
        self.frame.setStyleSheet("image: url(wugui.png);border: none;")
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        font = QtGui.QFont()
        font.setFamily("Aa芒小果")
        self.exitbtn = QtWidgets.QPushButton(self.centralWidget)
        self.exitbtn.setFont(font)
        self.exitbtn.setGeometry(QtCore.QRect(480, 10, 81, 31))
        self.exitbtn.setObjectName("exitbtn")
        self.exitbtn.setStyleSheet('''QPushButton{border: 2px solid rgb(254, 168, 39);border-radius:5px;}
            QPushButton:hover{background:rgb(254, 168, 39);font-size:16px;}''')
        self.frame_2 = QtWidgets.QFrame(self.centralWidget)
        self.frame_2.setGeometry(QtCore.QRect(0, 0, 581, 471))
        self.frame_2.setStyleSheet("border-top-color: rgb(255, 230, 36);\n"
"background-color: rgb(254, 199, 118);\n"
"border-bottom-color: rgb(69, 239, 255);")
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.frame_2.raise_()
        self.enter.raise_()
        self.usrText.raise_()
        self.textBrowser.raise_()
        self.frame.raise_()
        self.exitbtn.raise_()
        MainWindow.setCentralWidget(self.centralWidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.enter.setText(_translate("MainWindow", "输入"))
        self.exitbtn.setText(_translate("MainWindow", "退出"))